﻿using IdentityService.Domain.Aggregates.RoleAggregate;
using IdentityService.Domain.Aggregates.UserAccountAggregate;

namespace IdentityService.Infrastructure.Dtos
{
    public class UserAccountDto
    {
        public long Id { get; init; }
        public string? UserName { get; private set; }
        public string? Email { get; private set; }
        public string? PhoneNumber { get; private set; }
        public DateTime? LockoutUntil { get; private set; }
        public int AccessFailedCount { get; set; }
        public DateTime CreateTime { get; init; }
        public UserInfo? UserInfo { get; private set; }
        public List<Role> Roles { get; private set; } = new();
    }
}
